﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class BrokerageRefundInfoConfig : EntityTypeConfiguration<BrokerageRefundInfo>
    {
        public BrokerageRefundInfoConfig()
        {
            ToTable("Himall_BrokerageRefund");          
            HasRequired(x => x.Himall_BrokerageIncome).WithMany(x => x.Himall_BrokerageRefund).HasForeignKey(x => x.IncomeId);
        }
    }
}
